<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>

<h1  th:text="${chapterName}"></h1>
<h3 th:text="${book.bookName}"></h3><!--作品名字-->
<h2 th:text="${book.authorName}"></h2><!--作者名字-->
<h2 th:text="${parentype}"></h2><!--父类型-->
<h2 th:text="${subtype}"></h2><!--子类型-->

<span th:each="booklist : ${bookLists}">
          <a th:href="'/moyue/book/chapterView/'+${booklist.getBookId()}+'/'+${booklist.getBookListId()}">  <b th:text="${booklist.getBookListName()}"></b></a>
        </span><!--章节目录-->
<div style="width: 800px">
    <p th:each="paragrah : ${paragraphlist}" th:text="${paragrah}"></p>
</div>><!--文章内容-->
<a th:if="${lastchapter}>0"  th:href="'/moyue/book/chapterView/'+${book.getBookId()}+'/'+${lastchapter}">上一章</a>
<a th:if="${nextchapter}>0 " th:href="'/moyue/book/chapterView/'+${book.getBookId()}+'/'+${nextchapter}">下一章</a>
<a th:href="'/moyue/book/Addbookcase/'+${book.getBookId()}">加入书架</a>
<input type="hidden" th:value="${book.getBookId()}">
</body>
</html>